package own.application.test.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;

import own.application.test.dao.ContextRedisDao;

public class ContextRedisDaoImpl implements ContextRedisDao {

	@Autowired
	private RedisTemplate<Object, Object> redisTemplate;
	
	@Override
	public void savaString(String key,String value){
		redisTemplate.opsForValue().set(key, value);
	}
}
